<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="applicable-device" content="mobile">
	<link rel="stylesheet" href="css/swiper-3.3.1.min.css" />
	<link rel="stylesheet" href="css/weui.css" />
	<link rel="stylesheet" href="css/style.css" />
	<script type="text/javascript" src="js/jquery-2.1.0.js" ></script>
	<script type="text/javascript" src="js/swiper-3.3.1.jquery.min.js" ></script>
	<script type="text/javascript" src="js/live.js" ></script>
</head>
<body style="height: 100%;">
	<div class="splash" id="splash"></div>
	<div class="livewrap">
	<div class="topwrap">
		<!--<div class="live_top">
			<img src="img/banner.jpg"/>
			<div class="d-flex live_top_focus">
				<div class="live_logo" >清新TV</div>
				<!--<button id="btn_focus" class="live_focus" >关 注</button>-->
			<!--</div>-->
			
		<!--</div>-->
		<div class="videowrap">
			<div class="count_down_wrap" style="display: block;">
				<div class="count_down" id="count_down">倒计时:<b id="days">1</b>天<b id="hours">18</b>时<b id="minutes">56</b>分<b id="seconds">37</b>秒</div>
				<div class="begin_time">开始时间 : 2016-12-12 20:00</div>
			</div>
			<!--视频暂停广告开始-->
			<div class="ad_box">
				<!--<button class="close_ad" id="close_ad"></button>-->
				<div class="adWrap swiper-container">
				  <div class="swiper-wrapper">
				    <div class="swiper-slide"><img class="adImg" src="hls/player.jpg" alt="" /></div>
				    <div class="swiper-slide"><img class="adImg" src="hls/player.jpg" alt="" /></div>
				    <div class="swiper-slide"><img class="adImg"src="hls/player.jpg" alt="" /></div>
				  </div>
				  <div class="swiper-pagination"></div>
				</div>
			</div>
			<script>
				var adSwiper = new Swiper('.adWrap', {
					speed:500,
					autoplay: 5000,//可选选项，自动滑动
					loop:true,
					pagination : '.swiper-pagination',
					autoplayDisableOnInteraction : false,
					observeParents:true,//修改swiper的父元素时，自动初始化swiper
					observer:true,//修改swiper自己或子元素时，自动初始化swiper
					onSlideChangeEnd: function(swiper){  
			            swiper.update();  
			        } 
				})
			</script>
			<!--视频暂停广告结束-->
		</div>
		<!--<div class="count_down_wrap" style="display: block;">
			<div class="count_down" id="count_down">倒计时<b id="days">1</b>天<b id="hours">18</b>时<b id="minutes">56</b>分<b id="seconds">37</b>秒</div>
			<div class="begin_time">开始时间 : 2016-12-12 20:00</div>
		</div>-->
		<!--banner广告开始-->
		<div class="banner" id="banner">
			<div class="bannerWrap swiper-container">
				<div class="swiper-wrapper">
				   <div class="swiper-slide"><img class="bannerImg" src="img/banner.jpg" alt="" /></div>
				   <div class="swiper-slide"><img class="bannerImg" src="img/banner.jpg" alt="" /></div>
				   <div class="swiper-slide"><img class="bannerImg" src="img/banner.jpg" alt="" /></div>
				</div>
			</div>
			<!--<i class="ic_delete"></i>-->
		</div>
		<script>
				var bannerSwiper = new Swiper('.bannerWrap', {
					speed:500,
					autoplay: 3000,//可选选项，自动滑动
					loop:true,
					autoplayDisableOnInteraction : false,
					observeParents:true,//修改swiper的父元素时，自动初始化swiper
					observer:true//修改swiper自己或子元素时，自动初始化swiper
				})
		</script>
		<!--banner广告结束-->
		<nav class="live_tab d-flex">
			<a href="#" class="tab_active">图文直播</a>
			<a href="#">在线互动</a>
			<a href="#">活动介绍</a>
			<button id="btn_focus" class="live_focus" style="">关 注</button>
		</nav>
	</div>
	<div class="outwrap swiper-container">
		<div class="swiper-wrapper">
			<div class="swiper-slide comment_wrap">
					<!--图文直播-->
					<div class="cmt_mask">
						<div class="comment_box comment_box_image">
							<ul id="imagelive_list" class="comment_list comment_list_image">
								<!--一图-->
								<li class="comment">
									<div class="comment_time">7-26  19:00</div>
									<div class="cmt_box ">
										<div class="cmt_content_box">
											<div class="cmt_user d-flex flex-vc">
												<div class="d-flex flex-vc" >
													<img class="user_head user_head_p" src="img/user/1.jpg" alt=""/>
													<div class="user_name user_name_image" >主持人 郭雷<i class="host_icon"></i></div>
												</div>
												<div class="user_good">1444</div>
											</div>
											<div class="cmt_content">放个预告吊吊胃口...</div>
											<div class="cmt_img_box">
												<img class="cmt_img_max" src="img/user/25.jpg" alt="" />
											</div>
										</div>
									</div>
								</li>
								<!--横向二图-->
								<li class="comment">
									<div class="comment_time">7-26  19:00</div>
									<div class="cmt_box ">
										<div class="cmt_content_box">
											<div class="cmt_user d-flex flex-vc">
												<div class="d-flex flex-vc">
													<img class="user_head user_head_p" src="img/user/1.jpg" alt=""/>
													<div class="user_name user_name_image">主持人 郭雷<i class="host_icon"></i></div>
												</div>
												<div class="user_good">1444</div>
											</div>
											<div class="cmt_content">放个预告吊吊胃口...</div>
											<div class="cmt_img_box d-flex flex-jc">
												<img class="cmt_img_middle" src="img/user/25.jpg" alt="" />
												<img class="cmt_img_middle" src="img/user/25.jpg" alt="" />
											</div>
										</div>
									</div>
								</li>
								<!--左一右二-->
								<li class="comment">
									<div class="comment_time">7-26  19:00</div>
									<div class="cmt_box ">
										<div class="cmt_content_box">
											<div class="cmt_user d-flex flex-vc">
												<div class="d-flex flex-vc">
													<img class="user_head user_head_p" src="img/user/1.jpg" alt=""/>
													<div class="user_name user_name_image">主持人 郭雷<i class="host_icon"></i></div>
												</div>
												<div class="user_good">1444</div>
											</div>
											<div class="cmt_content">放个预告吊吊胃口...</div>
											<div class="cmt_img_box clear">
												<div class="cmt_img_left fl">
													<img class="cmt_img_left" src="img/user/25.jpg" alt="" />
												</div>
												<div class="cmt_img_left fr">
													<img class="cmt_img_right" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_right" src="img/user/25.jpg" alt="" style="margin-top: -1.73px;" />
												</div>
											</div>
										</div>
									</div>
								</li>
								<!--四图-->
								<li class="comment">
									<div class="comment_time">7-26  19:00</div>
									<div class="cmt_box ">
										<div class="cmt_content_box">
											<div class="cmt_user d-flex flex-vc">
												<div class="d-flex flex-vc">
													<img class="user_head user_head_p" src="img/user/1.jpg" alt=""/>
													<div class="user_name user_name_image">主持人 郭雷<i class="host_icon"></i></div>
												</div>
												<div class="user_good">1444</div>
											</div>
											<div class="cmt_content">放个预告吊吊胃口...</div>
											<div class="cmt_img_box d-flex flex-jc flex-hw">
												<img class="cmt_img_middle space_paddingBottom" src="img/user/25.jpg" alt="" />
												<img class="cmt_img_middle space_paddingBottom" src="img/user/25.jpg" alt="" />
												<img class="cmt_img_middle" src="img/user/25.jpg" alt="" />
												<img class="cmt_img_middle" src="img/user/25.jpg" alt="" />
											</div>
										</div>
									</div>
								</li>
								<!--六图-->
								<li class="comment">
									<div class="comment_time">7-26  19:00</div>
									<div class="cmt_box ">
										<div class="cmt_content_box">
											<div class="cmt_user d-flex flex-vc">
												<div class="d-flex flex-vc">
													<img class="user_head user_head_p" src="img/user/1.jpg" alt=""/>
													<div class="user_name user_name_image">主持人 郭雷<i class="host_icon"></i></div>
												</div>
												<div class="user_good">1444</div>
											</div>
											<div class="cmt_content">放个预告吊吊胃口...</div>
											<div class="cmt_img_box ">
												<div class="d-flex flex-jc space_paddingBottom">
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
												</div>
												<div class="d-flex flex-jc">
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
												</div>
											</div>
										</div>
									</div>
								</li>
								<!--五图-->
								<li class="comment">
									<div class="comment_time">7-26  19:00</div>
									<div class="cmt_box ">
										<div class="cmt_content_box">
											<div class="cmt_user d-flex flex-vc">
												<div class="d-flex flex-vc">
													<img class="user_head user_head_p" src="img/user/1.jpg" alt=""/>
													<div class="user_name user_name_image">主持人 郭雷<i class="host_icon"></i></div>
												</div>
												<div class="user_good">1444</div>
											</div>
											<div class="cmt_content">放个预告吊吊胃口...</div>
											<div class="cmt_img_box ">
												<div class="d-flex flex-jc space_paddingBottom">
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
												</div>
												<div class="d-flex ">
													<img class="cmt_img_mix" src="img/user/25.jpg" alt="" />
													<img class="cmt_img_mix cmt_img_mix_05" src="img/user/25.jpg" alt="" />
												</div>
											</div>
										</div>
									</div>
								</li>
								
							</ul>
						</div>
					</div>
				</div>
			<div class="swiper-slide comment_wrap">
				<!--在线互动-->
				<div class="cmt_mask" id="comment_mask">
					<!--<div class="comment_top d-flex">
						<div class="all_comment">全部评论（323）</div>
						<div class="people_num">1324人在线</div>
					</div>-->
					<div class="comment_box">
						<div class="comment_top d-flex">
							<div class="all_comment">全部评论（323）</div>
							<div class="people_num">1324人在线</div>
						</div>
						<ul id="videolive_list" class="comment_list">
							<li class="comment">
								<div class="comment_time">7-26  19:00</div>
								<div class="cmt_box d-flex">
									<img class="user_head"  src="img/user/1.jpg" alt=""/>
									<div class="cmt_content_box flex-1">
										<div class="cmt_user d-flex">
											<div class="user_name">主持人 郭雷<i class="host_icon"></i></div>
											<div class="user_good">1444</div>
										</div>
										<div class="cmt_content">回复<span>三千</span>:敬请期待！</div>
									</div>
								</div>
							</li>
							<li class="comment">
								<div class="comment_time">7-26  19:00</div>
								<div class="cmt_box d-flex">
									<img class="user_head" src="img/user/1.jpg" alt=""/>
									<div class="cmt_content_box flex-1">
										<div class="cmt_user d-flex">
											<div class="user_name">主持人 郭雷<i class="host_icon"></i></div>
											<div class="user_good">1444</div>
										</div>
										<div class="cmt_content">放个预告吊吊胃口...</div>
										<div class="cmt_img_box">
											<img class="cmt_img_max" src="img/user/25.jpg" alt="" />
										</div>
									</div>
								</div>
							</li>
							<li class="comment">
								<div class="comment_time">7-26  19:00</div>
								<div class="cmt_box d-flex">
									<img class="user_head" src="img/user/1.jpg" alt=""/>
									<div class="cmt_content_box flex-1">
										<div class="cmt_user d-flex">
											<div class="user_name">小逗比</div>
											<div class="user_good_active">14</div>
										</div>
										<div class="cmt_content">前排支持！！前排支持！！前排支持！！前排支持！！</div>
									</div>
								</div>
							</li>
							<li class="comment">
								<div class="comment_time">7-26  19:00</div>
								<div class="cmt_box d-flex">
									<img class="user_head" src="img/user/1.jpg" alt=""/>
									<div class="cmt_content_box flex-1">
										<div class="cmt_user d-flex">
											<div class="user_name">感恩常在</div>
											<div class="user_good">144</div>
										</div>
										<div class="cmt_content">
											<div class="bribery_money_box">
												<div class="bmb_top">
													<div class="wish">恭喜发财，大吉大利！</div>
													<div class="receive">领取红包</div>
												</div>
												<div class="bmb_bottom">娱乐频道</div>
											</div>
										</div>
									</div>
								</div>
								<div class="money_msg"><span >欧皇领取感恩常在的</span><i>红包</i></div>
								<div class="money_msg"><span >隔壁老王领取感恩常在的</span><i>红包</i></div>
								<!--<div class="load_more"><a id="load_more">点击加载更多</a></div>-->
							</li>
							<li class="comment">
								<div class="comment_time">7-26  19:00</div>
								<div class="cmt_box d-flex">
									<img class="user_head" src="img/user/1.jpg" alt=""/>
									<div class="cmt_content_box flex-1">
										<div class="cmt_user d-flex">
											<div class="user_name">小逗比</div>
											<div class="user_good_active">14</div>
										</div>
										<div class="cmt_content">前排支持！！前排支持！！前排支持！！前排支持！！</div>
									</div>
								</div>
							</li>
							<li class="comment">
								<div class="comment_time">7-26  19:00</div>
								<div class="cmt_box d-flex">
									<img class="user_head" src="img/user/1.jpg" alt=""/>
									<div class="cmt_content_box flex-1">
										<div class="cmt_user d-flex">
											<div class="user_name">小逗比</div>
											<div class="user_good_active">14</div>
										</div>
										<div class="cmt_content">前排支持！！前排支持！！前排支持！！前排支持！！</div>
									</div>
								</div>
							</li>
							
						</ul>
						<div class="load_more"><a id="load_more">点击加载更多</a></div>
					</div>
					<!--底部输入框-->
					<div class="speakbottom d-flex">
						<span id="btn_danmu_close" class="btn_danmu_close"></span>
						<span id="btn_danmu_open" class="btn_danmu_open"></span>
						<input id="speak_input" class="speak_input" type="text" placeholder="说点什么:)"/>
						<!--<span id="btn_face" class="speak_btn_face"></span>-->
						<!--<span id="speak_btn_more" class="speak_btn_more"></span>-->
						<button id="speak_btn_send" class="speak_btn_send">发送</button>
					</div>
					<!--新消息通知-->
					<div class="new_msg" style="display: none;"><span>你有一条新消息</span></div>
					<!--右侧工具栏-->
					<button id="tool" class="tool" style="z-index: 1000 !important;"></button>
					<ul id="tool_list" class="tool_list"  style="display: none;">
						<li id="tool_red" class="tool_red"></li>
						<li id="tool_ballot" class="tool_ballot"></li>
						<li id="tool_share" class="tool_share"></li>
						<li id="tool_close" class="tool_close"></li>
					</ul>
				</div>
				<!--投票-->
				<div class="poll">
					<div class="poll_close"></div>
					<ul class="poll_result">
						<article>你认为第一轮比赛中谁最美？</article>
						<li>
							<div class="ballot_box"><label class="poll_name">莹草</label><label class="ballot">35%(83票)</label></div>
							<div><label class="poll_num"><span class="high" style="width: 35%"></span></label></div>
						</li>
						<li>
							<div class="ballot_box"><label class="poll_name">茨木童子茨木童子茨木童子</label><label class="ballot">20%(33票)</label></div>
							<div><label class="poll_num"><span class="high" style="width: 25%"></span></label></div>
						</li>
						<li>
							<div class="ballot_box"><label class="poll_name">酒吞童子</label><label class="ballot">50%(183票)</label></div>
							<div><label class="poll_num"><span class="high" style="width: 50%"></span></label></div>
						</li>
						<li>
							<div class="ballot_box"><label class="poll_name">妖狐</label><label class="ballot">75%(183票)</label></div>
							<div><label class="poll_num"><span class="high" style="width: 75%"></span></label></div>
						</li>
					</ul>
					<ul class="poll_items">
						<article>你认为第一轮比赛中谁最美？</article>
						<li>
							<ul class="poll_items_dx single_select">
								<div class="select_type">
									<span>单选</span>
									<hr />
								</div>
								<li>
									<label>莹草</label>
								</li>
								<li>
									<label>茨木童子</label>
								</li>
								<li>
									<label>酒吞童子</label>
								</li>
								<li>
									<label>妖狐</label>
								</li>
							</ul>
						</li>
						<li>
							<ul class="poll_items_dx more_select">
								<div class="select_type">
									<span>多选</span>
									<hr />
								</div>
								<li>
									<label>莹草</label>
								</li>
								<li>
									<label>茨木童子</label>
								</li>
								<li>
									<label>酒吞童子</label>
								</li>
								<li>
									<label>妖狐</label>
								</li>
							</ul>
						</li>
					</ul>
					<button id="poll_send" class="poll_send">投票</button>
					<div id="toast" style="display: none;">
				        <div class="weui-mask_transparent"></div>
				        <div class="weui-toast" style="top: 0px;">
				            <i class="weui-icon-success-no-circle weui-icon_toast"></i>
				            <p class="weui-toast__content">投票成功</p>
				        </div>
				   </div>
				</div>
				<!--设置poll_items的高-->
				<script>
			   		var top1 = $('.topwrap').height();
			   		var ph = $('.poll_send').height()
			   		var wh1 = $(window).height();
			   		$('.poll_items').height(wh1-top1-ph+'px');
			   </script>
			</div>
			<!--活动介绍-->
			<div class="swiper-slide slide_padding">
				<p>&nbsp;&nbsp;本次大赛由清新区委宣传部指导，清新广播电视台主办，清新区文明办、清新区旅游局协办。以文明旅游为主题，旅游小姐评选为主线，“清新人家”民宿民居推介为主场景，三个板块巧妙结合。</p>
				<br/><p>&nbsp;&nbsp;从6月份开始启动，历时三个月，经过海选、复赛、民宿民居采风、乡村旅游推广、助力创文彩跑等一系列活动。借清远市创建全国文明城市为契机，结合旅游资源，进一步推广“清新人家”民宿游特色，为创建全国文明城市打造新的名片。</p>
				<br/><p>&nbsp;&nbsp;清新的自然风光美丽明净，我们更应该感恩大自然的馈赠，文明旅游，让这份美丽一直持续，希望文明旅游形象大使诠释清新旅游文化，彰显清远城市的魅力形象。</p>
			</div>
		</div>
	</div>
	</div>
	
	<!--遮罩层-->
	<div class="mask"></div>
	<!--分享层-->
	<div class="share_mask">
		<img class="share_img" src="img/ic_sharetips.png" alt="" />
	</div>
	<!--关注二维码层-->
	<div class="focus_mask">
		<div class="focus_box">
			<article>清新TV公众号</article>
			<img class="focus_img" src="img/focus.png" alt="" />
			<div class="focus_msg">可通过扫二维码获取更多信息</div>
		</div>
		<div class="focus_close"><button id="btn_focus_close"></button></div>
	</div>
	<!--发红包界面-->
	<div class="send_bonus">
		 <div class="weui-cells weui-cells_form" style="margin-top: 5rem;">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">红包个数</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input bonus_input" type="number" placeholder="请输入数量"/>
                </div>
                <div class="weui-cell__hd"><label class="weui-label bonus_lable">个</label></div>
            </div>
             <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label lable_money">总金额</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input bonus_input" type="number" placeholder="请输入金额"/>
                </div>
                <div class="weui-cell__hd"><label class="weui-label bonus_lable">元</label></div>
            </div>
        </div>
        <div class="weui-cells__title">小伙伴领取的金额随机，<label class="bonus_change">改为普通红包</label></div>
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="恭喜发财，大吉大利！"/>
                </div>
            </div>
        </div>
        <div class="weui-btn-area">
            <a class="weui-btn weui-btn_primary" href="javascript:" id="btn_bonus_send" style="background: #FE3946;">塞钱</a>
        </div>
        <div class="weui-btn-area">
            <a class="weui-btn weui-btn_primary" href="javascript:" id="btn_return_live"  style="background: #FFFFFF; color: #0789FE;">返回直播</a>
        </div>
   </div>
	<!--开红包弹层-->
	<div id="bonus_open" class="red_open">
		<button id="btn_open_close" class="rp_btn_close"></button>
		<img class="rp_head" src="img/user/1.jpg" alt="" />
		<div class="rp_name">感恩常在</div>
		<div class="rp_style">发了一个红包，金额随机</div>
		<div class="rp_title">恭喜发财，大吉大利！</div>
		<button id="rp_btn_open" class="rp_btn_open"></button>
	</div>
	<!--领取红包金额-->
	<div id="get_money" class="red_open">
		<button id="btn_get_close" class="rp_btn_close"></button>
		<img class="rp_head" src="img/user/1.jpg" alt="" />
		<div class="rp_name">感恩常在</div>
		<div class="get_money">手慢了,红包派完了</div>
		<div class="check_other">查查看大家额手气</div>
	</div>
	<!--红包详情页-->
	<div id="bonus_detail" class="red_detail">
		<button id="rd_close" class="rd_close"></button>
		<img class="rd_head" src="img/user/1.jpg" alt="" />
		<div class="rd_person">感恩常在的红包<span>拼</span></div>
		<div class="rd_title">恭喜发财，大吉大利！</div>
		<div class="rd_money">11.50<span>元</span></div>
		<div class="rd_count">10个红包共100元，还剩8个</div>
		<ul class="rd_list">
			<li class="d-flex">
				<img class="receive_head" src="img/user/1.jpg" alt="" />
				<div class="receive_box flex-1">
					<div class="receive_people d-flex">
						<div class="receive_name">小婊砸</div>
						<div class="receive_money">13.5元</div>
					</div>
					<div class="receive_time">2016-09-12 19：00</div>
				</div>
			</li>
			<li class="d-flex">
				<img class="receive_head" src="img/user/1.jpg" alt="" />
				<div class="receive_box flex-1">
					<div class="receive_people d-flex">
						<div class="receive_name">小婊砸</div>
						<div class="receive_money">13.5元</div>
					</div>
					<div class="receive_time">2016-09-12 19：00</div>
				</div>
			</li>
			<li class="d-flex">
				<img class="receive_head" src="img/user/1.jpg" alt="" />
				<div class="receive_box flex-1">
					<div class="receive_people d-flex">
						<div class="receive_name">小婊砸</div>
						<div class="receive_money">13.5元</div>
					</div>
					<div class="receive_time">2016-09-12 19：00</div>
				</div>
			</li>
			<li class="d-flex">
				<img class="receive_head" src="img/user/1.jpg" alt="" />
				<div class="receive_box flex-1">
					<div class="receive_people d-flex">
						<div class="receive_name">小婊砸</div>
						<div class="receive_money">13.5元</div>
					</div>
					<div class="receive_time">2016-09-12 19：00</div>
				</div>
			</li>
			<li class="d-flex">
				<img class="receive_head" src="img/user/1.jpg" alt="" />
				<div class="receive_box flex-1">
					<div class="receive_people d-flex">
						<div class="receive_name">小婊砸</div>
						<div class="receive_money">13.5元</div>
					</div>
					<div class="receive_time">2016-09-12 19：00</div>
				</div>
			</li>
		</ul>
	</div>
	
	<script type="text/javascript">
			//动态设置每个swiper-slide的高度
			var h = $(window).height();
			var h1 = $('.topwrap').height();
			var h2 = h-h1;
			$('.outwrap .swiper-slide').css('height',h2+'px');
			
			var myswiper = new Swiper('.outwrap',{
				speed:500,				
				autoHeight: true, //enable auto height
				onSlideChangeStart: function(swiper){
			    $(".live_tab .tab_active").removeClass('tab_active');
			    $(".live_tab a").eq(swiper.activeIndex).addClass('tab_active');
			    if($('.swiper-slide').eq(swiper.activeIndex).hasClass('comment_wrap')){
			    	
			    }
			   }
			});
			  $(".live_tab a").on('touchstart mousedown',function(e){
			    e.preventDefault();
			    $(".live_tab .tab_active").removeClass('tab_active');
			    $(this).addClass('tab_active');
			    myswiper.slideTo($(this).index());
			  })
			  $(".live_tab a").click(function(e){
			    e.preventDefault();
			  });
	</script>
	<!--倒计时-->
	<script>
		function FreshTime(){
	        var endtime=new Date("2016/12/12,20:00:00");//结束时间
	        var nowtime = new Date();//当前时间
	        var lefttime= parseInt((endtime.getTime() - nowtime.getTime())/1000) ; 
		        d= parseInt(lefttime/(24*60*60));
		        h= parseInt(lefttime/(60*60)%24);
		        m= parseInt(lefttime/60%60);
		        s= parseInt(lefttime%60);
	       
	        $("#days").text(d);
	        $("#hours").text(h);
	        $("#minutes").text(m);
	        $("#seconds").text(s);
	        if(lefttime<=0){
	        	$(".count_down_wrap").hide();
	        	clearInterval(sh);
        	}
		}
	   FreshTime();
	   var sh;
	   sh=  setInterval(FreshTime,1000);
	</script>

</body>
</html>